package com.ruoyi.project.sdi.input.model;

import com.google.common.collect.Lists;
import com.ruoyi.project.sdi.sdiImage.domain.SdiImage;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 功能描述：
 *
 * @author 关晓强
 * @version 1.0
 * @date 2020/4/3 10:43
 */
@Data
@NoArgsConstructor
public class ForceInputBatchInfoVo implements Serializable {
    //批次信息
    public SdiPaeaArcInput sdiPaeaArcInput;
    //流水信息
    public List<PaeaDsTradeInput> paeaDsTradeInputList = Lists.newArrayList();

    public PaeaDsTradeInput paeaDsTradeInput;

    public Integer forceInputBatchNum = 0;

    public Integer forceInputWorkload = 0;

    private String errorMessage;

    private Boolean isCommit;

    @Data
    public static class SdiPaeaArcInput {
        private String id;
        private String code;
        private String orgCode;
        private String tellerCode;
        private Date trDate;
        private Integer imageNum;
        private String imageUrlPrefix;
        private Integer status;
    }

    @Data
    public static class PaeaDsTradeInput {
        private String id;
        private String vchNo;
        private String ccyCode;
        private String vchSeq;
        private String brCode;
        private String tellerCode;
        private Date trDate;
        private String txnCde;
        private String accNo;
        private Double txnAmt;
        private String txnTime;
        private Integer status;
        private String imageId;
        private String tradeDesc;
        private Integer txnSeq;
        private List<SdiImage> sdiImageInputList = Lists.newArrayList();
    }

}
